Skip to main content
Version: Upcoming

SRRiskExecution

V8 Message Definiton

SpdrRiskExecution records are published every time a SpdrParentExecution record is published

METADATA

AttributeValue
Topic2270-execution-engine
MLink TokenClientTrading
ProductSRTrade
accessTypeSELECT
MLink EndpointMLink-Order

Table Definition

FieldTypeKeyDefault ValueComment
fillNumberBIGINTPRI0SpiderRock execution number globally unique over trailing 10 days
sysRealmenum - SysRealm'None'
sysEnvironmentenum - SysEnvironment'None'original source sys environment Stable Current etc
runStatusenum - RunStatus'None'original source run status ProdBeta
versionTINYINT UNSIGNED0record version numberstarts at zero and goes up every time an execution record is republished eg bust 1m marks 10m marks etc
execStatusenum - ExecStatus'None'SpiderRock execution status FillBustCorrectRejectSysRej
execShapeenum - ExecShape'None'
packageIdBIGINT0SR package Id
parentNumberCHAR(19)'0000-0000-0000-0000'SR parent number
parentVersionSMALLINT0SPDR order instance number 1 original order 2 1st cancelreplace etc
baseParentNumberCHAR(19)'0000-0000-0000-0000'SPDR order number initial number in cancelreplace sequence also source parent for dynamically generated orderseg autohedges
clOrdIdCHAR(19)'0000-0000-0000-0000'SR child order clOrdID resulting in fill
riskGroupIdCHAR(19)'0000-0000-0000-0000'riskGroupId parent order group ID for this execution report
parentShapeenum - SpdrOrderShape'None'shape of originating parent order
secKey_atenum - AssetType'None'execution security key
secKey_tsenum - TickerSrc'None'execution security key
secKey_tkVARCHAR(12)''execution security key
secKey_yrSMALLINT UNSIGNED0execution security key
secKey_mnTINYINT UNSIGNED0execution security key
secKey_dyTINYINT UNSIGNED0execution security key
secKey_xxDOUBLE0execution security key
secKey_cpenum - CallPut'Call'execution security key
secTypeenum - SpdrKeyType'None'execution security type Stock Future Option
ticker_atenum - AssetType'None'base stock key used for symbol risk aggregation
ticker_tsenum - TickerSrc'None'base stock key used for symbol risk aggregation
ticker_tkVARCHAR(12)''base stock key used for symbol risk aggregation
accntVARCHAR(16)SEC''SpiderRock trading accnt broker pkey
clientFirmVARCHAR(16)SEC''SR client firm
spdrSourceenum - SpdrSource'None'SpiderRock parent order source code broker pkey
groupingCodeCHAR(19)'0000-0000-0000-0000'SpiderRock parent broker number broker pkey
engineNameVARCHAR(32)''SpiderRock execution engine that handled the parent order
execRoleenum - ExecRole'None'SpiderRock relationship to this execution record
childOrderHandlingVARCHAR(24)''child order handling string from the algo that generated the child order responsible for this fill
childAlgoHandlerenum - ChildHandler'None'algo handler for this child order
childSSaleFlagenum - ShortSaleFlag'None'short sale flag
userNameVARCHAR(24)''user name associated with the parent order
orderSideenum - BuySell'None'order side
spdrOrderStatusenum - SpdrOrderStatus'PendNew'
spdrCloseReasonenum - SpdrCloseReason'None'
cumFillQuantityINT0cumulative fills this parent number only
avgFillPriceDOUBLE0
cumLegFillQuantityINT0cumulative fills spread only
avgLegFillPriceDOUBLE0
leavesQtyINT0
priceTypeenum - PriceType'None'
firmTypeenum - FirmType'None'child order firm type Customer ProCust Firm MM etc
priAggGroupVARCHAR(16)''primary aggregation group
secAggGroupVARCHAR(16)''secondary aggregation group
fillTransactDttmDATETIME(6)'1900-01-01 00:00:00.000000'transaction datetime as reported by exchange or down stream broker
fillDttmDATETIME(6)'1900-01-01 00:00:00.000000'Datetime of fill arrival SRDateTime
fillExchVARCHAR(12)''ExDest code from child order execution report
fillExecIdTINYTEXT''street side execution Id
fillExecRefIdTINYTEXT''street side execution ref Id only used when busting an execution
fillLegRefIdBIGINT0legRefId for multileg fills
fillLegRatioINT0legRatio if spread order
fillExchFeeFLOAT0SpiderRock estimate of the exchange fee based on liquidity tags best effort
fillMarketVARCHAR(8)''usually from execReportlastMkt as reported by child order venue
fillPriceDOUBLE0fill price
fillQuantityINT0fill quantity
fillBidDOUBLE0market bid fill arrival
fillAskDOUBLE0market ask fill arrival
fillMarkDOUBLE0midmarket or SR surface price if option fill arrival
fillUBidDOUBLE0underlier market bid fill arrival
fillUAskDOUBLE0underlier market bid fill arrival
fillVolFLOAT0fill volatility fillLimitRefUPrc
fillVeFLOAT0fill vega
fillGaFLOAT0fill gamma
fillDeFLOAT0fill delta
fillThFLOAT0fill theta
fillBetaFLOAT0SpiderRock estimate of beta to SPX
riskVegaFLOAT0risk vega
riskWtVegaFLOAT0risk gamma
riskNValueFLOAT0risk delta
riskDeltaFLOAT0risk delta
riskDVannaFLOAT0risk vanna signed delta change per 1 vol point
riskDDeltaFLOAT0risk ddelta
riskRm1FLOAT0user defined from parent order used to manage order groups
riskRm2FLOAT0user defined from parent order used to manage order groups
riskRm3FLOAT0user defined from parent order used to manage order groups
riskRm4FLOAT0user defined from parent order used to manage order groups
riskRm5FLOAT0user defined from parent order used to manage order groups
riskRm6FLOAT0user defined from parent order used to manage order groups
riskRm7FLOAT0user defined from parent order used to manage order groups
marginUDnVDnFLOAT0underlier down vol down
marginUDnVUpFLOAT0underlier down vol up
marginUUpVDnFLOAT0underlier up vol down
marginUUpVUpFLOAT0underlier up vol up
riskU50DnFLOAT0underlier dn 50 shock slide
riskU50UpFLOAT0underlier up 50 shock slide
yearsFLOAT0years to expiration
underliersPerCnINT0option delivery underliers per contract
underlierTypeenum - UnderlierType'None'type of underlier affects greek calculations
tickValueFLOAT0NLV value of a single tick change in display premium pointValue tickValue tickSize
pointValueFLOAT0NLV value of a single point change in display premium pointValue tickValue tickSize
pointCurrencyenum - Currency'None'
uPrcRatioFLOAT0UPrcRatio SymbolRatio from product definition
minTickSizeFLOAT0minimum market price variation dnTickSize if on a boundary
priceFormatenum - PriceFormat'None'SpiderRock price display format code
uPriceFormatenum - PriceFormat'None'SpiderRock underlier price display format code
timestampDATETIME(6)'1900-01-01 00:00:00.000000'timestamp of this record not necessarily the timestamp of the fill itself

PRIMARY KEY DEFINITION (Unique)

FieldSequence
fillNumber1

SECONDARY INDEX (AccntIndex) (Not Unique)

FieldSequence
accnt1

SECONDARY INDEX (ClientFirmIndex) (Not Unique)

FieldSequence
clientFirm1

SELECT TABLE EXAMPLE QUERY

SELECT *
FROM `SRTrade`.`MsgSRRiskExecution`
WHERE
/* Replace with a BIGINT */
`fillNumber` = 1234567890;

Doc Columns Query

SELECT * FROM SRTrade.doccolumns WHERE TABLE_NAME='SRRiskExecution' ORDER BY ordinal_position ASC;